Use uv for managing python version#5009
Conversation
Instructions and example for changelogPlease add an entry to Example: ## Unreleased
### Features
- Use uv for managing python version ([#5009](https://github.com/getsentry/sentry-java/pull/5009))If none of the above apply, you can opt out of this check by adding |
1eeaf9c to
af4f8c4
Compare
31b0acb to
53ea75b
Compare
| if not os.path.exists(".venv"): | ||
| proc.run(("uv", "venv", "--seed")) | ||
| proc.run(("uv", "sync", "--frozen", "--quiet")) |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
| @@ -0,0 +1,3 @@ | |||
| [project] | |||
| name = "javasdk" | |||
| version = "0.0.0" | |||
There was a problem hiding this comment.
Missing dependencies in pyproject.toml breaks local development
Medium Severity
The pyproject.toml has no dependencies field, and uv.lock only contains the virtual package. However, requirements.txt lists dependencies like requests that are imported by test/system-test-runner.py. When developers use the new devenv setup (uv sync --frozen), the venv is created without these dependencies, causing ImportError when running the test scripts locally.
Additional Locations (1)
|
cursor review |
…batchprocessor_from_sentryclient feat(metrics): [Trace Metrics 22] Close and flush `MetricsBatchProcessor` from `SentryClient`
Performance metrics 🚀
|

📜 Description
💡 Motivation and Context
💚 How did you test it?
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps